package org.ectar.papi.data
{
	import mx.collections.ArrayCollection;

	/**
	 * 
	 * Represent a single Photo and all possible information related to it
	 * 
	 * @author Mykhaylo Lytvynyuk
 	 */	

	public class GEntry
	{	
		
		[Bindable] public var id:String; // Unique URL which leads to the photo feed
		[Bindable] public var category:Array; // <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/>
		[Bindable] public var title:String;
		[Bindable] public var subtitle:String; // caption in Picasa
		[Bindable] public var published:String;
		[Bindable] public var updated:String;	
		[Bindable] public var summary:String; // unused, see Media.description		
		[Bindable] public var content:Object; // unused, see Media.content
		
		[Bindable] public var icon:String; // duplicate of Media.content.url, will be removed

		/** An arrays of Picture related links */
		[Bindable] public var link:Object;
		
		/** Contains gphoto: section */
		[Bindable] public var gphoto:GPhoto = new GPhoto();
		
		/** Camera EXIF information */
		[Bindable] public var exif:GExif = new GExif();		
		
		/** Media information */
		[Bindable] public var media:GMedia = new GMedia();
		
		/** Image geo data in GeoRSS-plus-GML format */
		[Bindable] public var georss:GEORss = new GEORss();
		
		[Bindable] public var author:GAuthor = new GAuthor();
	}
}